[INFO] cloning repository https://github.com/liamgriffiths/visits
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liamgriffiths/visits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamgriffiths%2Fvisits", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamgriffiths%2Fvisits'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3041170bc02c7bac1e4820bf67d7aba91dfe2b10
[INFO] testing liamgriffiths/visits against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamgriffiths%2Fvisits" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/liamgriffiths/visits
[INFO] finished tweaking git repo https://github.com/liamgriffiths/visits
[INFO] tweaked toml for git repo https://github.com/liamgriffiths/visits written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/liamgriffiths/visits on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/liamgriffiths/visits already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded textwrap v0.10.0
[INFO] [stderr]   Downloaded antidote v1.0.0
[INFO] [stderr]   Downloaded backtrace v0.3.14
[INFO] [stderr]   Downloaded autocfg v0.1.2
[INFO] [stderr]   Downloaded lazy_static v1.3.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.13
[INFO] [stderr]   Downloaded vec_map v0.8.1
[INFO] [stderr]   Downloaded dotenv v0.9.0
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.0
[INFO] [stderr]   Downloaded r2d2 v0.8.3
[INFO] [stderr]   Downloaded serde v1.0.89
[INFO] [stderr]   Downloaded diesel_derives v1.4.0
[INFO] [stderr]   Downloaded byteorder v1.3.1
[INFO] [stderr]   Downloaded chrono v0.4.6
[INFO] [stderr]   Downloaded diesel v1.4.1
[INFO] [stderr]   Downloaded backtrace-sys v0.1.28
[INFO] [stderr]   Downloaded serde_json v1.0.39
[INFO] [stderr]   Downloaded csv v1.0.5
[INFO] [stderr]   Downloaded proc-macro2 v0.4.27
[INFO] [stderr]   Downloaded libc v0.2.50
[INFO] [stderr]   Downloaded term v0.5.1
[INFO] [stderr]   Downloaded regex v0.2.11
[INFO] [stderr]   Downloaded unicode-segmentation v1.2.1
[INFO] [stderr]   Downloaded heck v0.3.1
[INFO] [stderr]   Downloaded structopt v0.2.15
[INFO] [stderr]   Downloaded pq-sys v0.4.6
[INFO] [stderr]   Downloaded utf8-ranges v1.0.2
[INFO] [stderr]   Downloaded synstructure v0.10.1
[INFO] [stderr]   Downloaded failure v0.1.5
[INFO] [stderr]   Downloaded encode_unicode v0.3.5
[INFO] [stderr]   Downloaded prettytable-rs v0.8.0
[INFO] [stderr]   Downloaded termion v1.5.1
[INFO] [stderr]   Downloaded syn v0.15.29
[INFO] [stderr]   Downloaded regex-syntax v0.5.6
[INFO] [stderr]   Downloaded redox_termios v0.1.1
[INFO] [stderr]   Downloaded strsim v0.7.0
[INFO] [stderr]   Downloaded unicode-normalization v0.1.8
[INFO] [stderr]   Downloaded exitfailure v0.5.1
[INFO] [stderr]   Downloaded structopt-derive v0.2.15
[INFO] [stderr]   Downloaded redox_syscall v0.1.51
[INFO] [stderr]   Downloaded ucd-util v0.1.3
[INFO] [stderr]   Downloaded thread_local v0.3.6
[INFO] [stderr]   Downloaded cc v1.0.31
[INFO] [stderr]   Downloaded time v0.1.42
[INFO] [stderr]   Downloaded log v0.4.6
[INFO] [stderr]   Downloaded cfg-if v0.1.7
[INFO] [stderr]   Downloaded failure_derive v0.1.5
[INFO] [stderr]   Downloaded quote v0.6.11
[INFO] [stderr]   Downloaded vcpkg v0.2.6
[INFO] [stderr]   Downloaded smallvec v0.6.9
[INFO] [stderr]   Downloaded atty v0.2.11
[INFO] [stderr]   Downloaded aho-corasick v0.6.10
[INFO] [stderr]   Downloaded clap v2.32.0
[INFO] [stderr]   Downloaded unicode-width v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57c8a5adbfd86ce6a2c4a08e5c0567c3f29ed627b39586a5578a9eda55589ad6
[INFO] running `Command { std: "docker" "start" "-a" "57c8a5adbfd86ce6a2c4a08e5c0567c3f29ed627b39586a5578a9eda55589ad6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57c8a5adbfd86ce6a2c4a08e5c0567c3f29ed627b39586a5578a9eda55589ad6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57c8a5adbfd86ce6a2c4a08e5c0567c3f29ed627b39586a5578a9eda55589ad6", kill_on_drop: false }`
[INFO] [stdout] 57c8a5adbfd86ce6a2c4a08e5c0567c3f29ed627b39586a5578a9eda55589ad6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a7bbd48434eb17a306b1d4f9041d5e914fa464b46187e447830a931afce73d1
[INFO] running `Command { std: "docker" "start" "-a" "5a7bbd48434eb17a306b1d4f9041d5e914fa464b46187e447830a931afce73d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.29
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling serde v1.0.89
[INFO] [stderr]    Compiling cc v1.0.31
[INFO] [stderr]    Compiling cfg-if v0.1.7
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling rustc-demangle v0.1.13
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling ucd-util v0.1.3
[INFO] [stderr]    Compiling unicode-segmentation v1.2.1
[INFO] [stderr]    Compiling smallvec v0.6.9
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling antidote v1.0.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.0
[INFO] [stderr]    Compiling backtrace v0.3.14
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling unicode-normalization v0.1.8
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling utf8-ranges v1.0.2
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling r2d2 v0.8.3
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling csv-core v0.1.5
[INFO] [stderr]    Compiling term v0.5.1
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling encode_unicode v0.3.5
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling csv v1.0.5
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling serde_json v1.0.39
[INFO] [stderr]    Compiling dotenv v0.9.0
[INFO] [stderr]    Compiling prettytable-rs v0.8.0
[INFO] [stderr]    Compiling synstructure v0.10.1
[INFO] [stderr]    Compiling diesel_derives v1.4.0
[INFO] [stderr]    Compiling structopt-derive v0.2.15
[INFO] [stderr]    Compiling structopt v0.2.15
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling exitfailure v0.5.1
[INFO] [stderr]    Compiling diesel v1.4.1
[INFO] [stderr]    Compiling visits v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:115:30
[INFO] [stdout]     |
[INFO] [stdout] 115 |             Err(e) => panic!(e),
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 115 |             Err(e) => panic!("{}", e),
[INFO] [stdout]     |                              +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 115 -             Err(e) => panic!(e),
[INFO] [stdout] 115 +             Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models/user.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Identifiable, Queryable)]
[INFO] [stdout]   |                 ^-----------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `HasTable` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stdout] 7 | #[table_name = "users"]
[INFO] [stdout] 8 | pub struct User {
[INFO] [stdout]   |            ---- `User` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models/user.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Identifiable, Queryable)]
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Identifiable` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stdout] 7 | #[table_name = "users"]
[INFO] [stdout] 8 | pub struct User {
[INFO] [stdout]   |            ---- `User` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models/user.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Identifiable, Queryable)]
[INFO] [stdout]   |                               ^--------
[INFO] [stdout]   |                               |
[INFO] [stdout]   |                               `Queryable` is not local
[INFO] [stdout]   |                               move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stdout] 7 | #[table_name = "users"]
[INFO] [stdout] 8 | pub struct User {
[INFO] [stdout]   |            ---- `User` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/user.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Debug, Insertable)]
[INFO] [stdout]    |                 ^---------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Insertable` is not local
[INFO] [stdout]    |                 `table` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 36 | #[table_name = "users"]
[INFO] [stdout] 37 | pub struct NewUser {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/user.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Debug, Insertable)]
[INFO] [stdout]    |                 -^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Insertable` is not local
[INFO] [stdout]    |                 `table` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 36 | #[table_name = "users"]
[INFO] [stdout] 37 | pub struct NewUser {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/user.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Debug, Insertable)]
[INFO] [stdout]    |                 ^---------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                 `table` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 36 | #[table_name = "users"]
[INFO] [stdout] 37 | pub struct NewUser {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/visit.rs:8:17
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stdout]    |                 ^--------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Queryable` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_queryable_for_visit`
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub struct Visit {
[INFO] [stdout]    |            ----- `Visit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/visit.rs:8:28
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stdout]    |                            ^-----------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `BelongsTo` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this function `_impl_associations_for_visit`
[INFO] [stdout]  9 | #[table_name = "visits"]
[INFO] [stdout] 10 | #[belongs_to(User)]
[INFO] [stdout]    |              ---- `User` is not local
[INFO] [stdout] 11 | pub struct Visit {
[INFO] [stdout]    |            ----- `Visit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/visit.rs:8:42
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stdout]    |                                          ^-----------
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          `HasTable` is not local
[INFO] [stdout]    |                                          move the `impl` block outside of this function `_impl_identifiable_for_visit`
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub struct Visit {
[INFO] [stdout]    |            ----- `Visit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/visit.rs:8:42
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stdout]    |                                          ^^^^^^^^^^^^
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          `Identifiable` is not local
[INFO] [stdout]    |                                          move the `impl` block outside of this function `_impl_identifiable_for_visit`
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub struct Visit {
[INFO] [stdout]    |            ----- `Visit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models/visit.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Debug, Insertable)]
[INFO] [stdout]     |                 ^---------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Insertable` is not local
[INFO] [stdout]     |                 `table` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this function `_impl_insertable_for_newvisit`
[INFO] [stdout] 125 | #[table_name = "visits"]
[INFO] [stdout] 126 | pub struct NewVisit {
[INFO] [stdout]     |            -------- `NewVisit` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models/visit.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Debug, Insertable)]
[INFO] [stdout]     |                 -^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Insertable` is not local
[INFO] [stdout]     |                 `table` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this function `_impl_insertable_for_newvisit`
[INFO] [stdout] 125 | #[table_name = "visits"]
[INFO] [stdout] 126 | pub struct NewVisit {
[INFO] [stdout]     |            -------- `NewVisit` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models/visit.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Debug, Insertable)]
[INFO] [stdout]     |                 ^---------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `UndecoratedInsertRecord` is not local
[INFO] [stdout]     |                 `table` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this function `_impl_insertable_for_newvisit`
[INFO] [stdout] 125 | #[table_name = "visits"]
[INFO] [stdout] 126 | pub struct NewVisit {
[INFO] [stdout]     |            -------- `NewVisit` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | `table` is not local
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout]   | |         -------- `username` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_username`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout] 5 | |         created_at -> Timestamptz,
[INFO] [stdout]   | |         ---------- `created_at` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout] 5 | |         created_at -> Timestamptz,
[INFO] [stdout] 6 | |         updated_at -> Timestamptz,
[INFO] [stdout]   | |         ---------- `updated_at` is not local
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] 14 | |         enter_at -> Date,
[INFO] [stdout]    | |         -------- `enter_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_enter_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] 14 | |         enter_at -> Date,
[INFO] [stdout] 15 | |         exit_at -> Date,
[INFO] [stdout]    | |         ------- `exit_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_exit_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |         created_at -> Timestamptz,
[INFO] [stdout]    | |         ---------- `created_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |         updated_at -> Timestamptz,
[INFO] [stdout]    | |         ---------- `updated_at` is not local
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.99s
[INFO] running `Command { std: "docker" "inspect" "5a7bbd48434eb17a306b1d4f9041d5e914fa464b46187e447830a931afce73d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a7bbd48434eb17a306b1d4f9041d5e914fa464b46187e447830a931afce73d1", kill_on_drop: false }`
[INFO] [stdout] 5a7bbd48434eb17a306b1d4f9041d5e914fa464b46187e447830a931afce73d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 175dd251d6c0bbe9feffee2c2ea62282cbb405e5fc0b8bbef1b9ce92f30deea7
[INFO] running `Command { std: "docker" "start" "-a" "175dd251d6c0bbe9feffee2c2ea62282cbb405e5fc0b8bbef1b9ce92f30deea7", kill_on_drop: false }`
[INFO] [stderr]    Compiling visits v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:115:30
[INFO] [stdout]     |
[INFO] [stdout] 115 |             Err(e) => panic!(e),
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 115 |             Err(e) => panic!("{}", e),
[INFO] [stdout]     |                              +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 115 -             Err(e) => panic!(e),
[INFO] [stdout] 115 +             Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models/user.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Identifiable, Queryable)]
[INFO] [stdout]   |                 ^-----------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `HasTable` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stdout] 7 | #[table_name = "users"]
[INFO] [stdout] 8 | pub struct User {
[INFO] [stdout]   |            ---- `User` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models/user.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Identifiable, Queryable)]
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Identifiable` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stdout] 7 | #[table_name = "users"]
[INFO] [stdout] 8 | pub struct User {
[INFO] [stdout]   |            ---- `User` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models/user.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Identifiable, Queryable)]
[INFO] [stdout]   |                               ^--------
[INFO] [stdout]   |                               |
[INFO] [stdout]   |                               `Queryable` is not local
[INFO] [stdout]   |                               move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stdout] 7 | #[table_name = "users"]
[INFO] [stdout] 8 | pub struct User {
[INFO] [stdout]   |            ---- `User` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/user.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Debug, Insertable)]
[INFO] [stdout]    |                 ^---------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Insertable` is not local
[INFO] [stdout]    |                 `table` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 36 | #[table_name = "users"]
[INFO] [stdout] 37 | pub struct NewUser {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/user.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Debug, Insertable)]
[INFO] [stdout]    |                 -^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Insertable` is not local
[INFO] [stdout]    |                 `table` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 36 | #[table_name = "users"]
[INFO] [stdout] 37 | pub struct NewUser {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/user.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Debug, Insertable)]
[INFO] [stdout]    |                 ^---------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                 `table` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 36 | #[table_name = "users"]
[INFO] [stdout] 37 | pub struct NewUser {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/visit.rs:8:17
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stdout]    |                 ^--------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Queryable` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_queryable_for_visit`
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub struct Visit {
[INFO] [stdout]    |            ----- `Visit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/visit.rs:8:28
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stdout]    |                            ^-----------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `BelongsTo` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this function `_impl_associations_for_visit`
[INFO] [stdout]  9 | #[table_name = "visits"]
[INFO] [stdout] 10 | #[belongs_to(User)]
[INFO] [stdout]    |              ---- `User` is not local
[INFO] [stdout] 11 | pub struct Visit {
[INFO] [stdout]    |            ----- `Visit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/visit.rs:8:42
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stdout]    |                                          ^-----------
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          `HasTable` is not local
[INFO] [stdout]    |                                          move the `impl` block outside of this function `_impl_identifiable_for_visit`
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub struct Visit {
[INFO] [stdout]    |            ----- `Visit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/visit.rs:8:42
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stdout]    |                                          ^^^^^^^^^^^^
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          `Identifiable` is not local
[INFO] [stdout]    |                                          move the `impl` block outside of this function `_impl_identifiable_for_visit`
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub struct Visit {
[INFO] [stdout]    |            ----- `Visit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models/visit.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Debug, Insertable)]
[INFO] [stdout]     |                 ^---------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Insertable` is not local
[INFO] [stdout]     |                 `table` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this function `_impl_insertable_for_newvisit`
[INFO] [stdout] 125 | #[table_name = "visits"]
[INFO] [stdout] 126 | pub struct NewVisit {
[INFO] [stdout]     |            -------- `NewVisit` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models/visit.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Debug, Insertable)]
[INFO] [stdout]     |                 -^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Insertable` is not local
[INFO] [stdout]     |                 `table` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this function `_impl_insertable_for_newvisit`
[INFO] [stdout] 125 | #[table_name = "visits"]
[INFO] [stdout] 126 | pub struct NewVisit {
[INFO] [stdout]     |            -------- `NewVisit` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models/visit.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Debug, Insertable)]
[INFO] [stdout]     |                 ^---------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `UndecoratedInsertRecord` is not local
[INFO] [stdout]     |                 `table` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this function `_impl_insertable_for_newvisit`
[INFO] [stdout] 125 | #[table_name = "visits"]
[INFO] [stdout] 126 | pub struct NewVisit {
[INFO] [stdout]     |            -------- `NewVisit` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | `table` is not local
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout]   | |         -------- `username` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_username`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout] 5 | |         created_at -> Timestamptz,
[INFO] [stdout]   | |         ---------- `created_at` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     users (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         username -> Text,
[INFO] [stdout] 5 | |         created_at -> Timestamptz,
[INFO] [stdout] 6 | |         updated_at -> Timestamptz,
[INFO] [stdout]   | |         ---------- `updated_at` is not local
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] 14 | |         enter_at -> Date,
[INFO] [stdout]    | |         -------- `enter_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_enter_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] 14 | |         enter_at -> Date,
[INFO] [stdout] 15 | |         exit_at -> Date,
[INFO] [stdout]    | |         ------- `exit_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_exit_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |         created_at -> Timestamptz,
[INFO] [stdout]    | |         ---------- `created_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     visits (id) {
[INFO] [stdout] 12 | |         id -> Int4,
[INFO] [stdout] 13 | |         user_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |         updated_at -> Timestamptz,
[INFO] [stdout]    | |         ---------- `updated_at` is not local
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s
[INFO] running `Command { std: "docker" "inspect" "175dd251d6c0bbe9feffee2c2ea62282cbb405e5fc0b8bbef1b9ce92f30deea7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "175dd251d6c0bbe9feffee2c2ea62282cbb405e5fc0b8bbef1b9ce92f30deea7", kill_on_drop: false }`
[INFO] [stdout] 175dd251d6c0bbe9feffee2c2ea62282cbb405e5fc0b8bbef1b9ce92f30deea7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d3d9c223342925de507f2df0ccf0071d91e8667c56c3b39e305bc4021d8343f3
[INFO] running `Command { std: "docker" "start" "-a" "d3d9c223342925de507f2df0ccf0071d91e8667c56c3b39e305bc4021d8343f3", kill_on_drop: false }`
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:115:30
[INFO] [stderr]     |
[INFO] [stderr] 115 |             Err(e) => panic!(e),
[INFO] [stderr]     |                              ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 115 |             Err(e) => panic!("{}", e),
[INFO] [stderr]     |                              +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 115 -             Err(e) => panic!(e),
[INFO] [stderr] 115 +             Err(e) => std::panic::panic_any(e),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models/user.rs:6:17
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Debug, Identifiable, Queryable)]
[INFO] [stderr]   |                 ^-----------
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 `HasTable` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stderr] 7 | #[table_name = "users"]
[INFO] [stderr] 8 | pub struct User {
[INFO] [stderr]   |            ---- `User` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models/user.rs:6:17
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Debug, Identifiable, Queryable)]
[INFO] [stderr]   |                 ^^^^^^^^^^^^
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 `Identifiable` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stderr] 7 | #[table_name = "users"]
[INFO] [stderr] 8 | pub struct User {
[INFO] [stderr]   |            ---- `User` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models/user.rs:6:31
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Debug, Identifiable, Queryable)]
[INFO] [stderr]   |                               ^--------
[INFO] [stderr]   |                               |
[INFO] [stderr]   |                               `Queryable` is not local
[INFO] [stderr]   |                               move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stderr] 7 | #[table_name = "users"]
[INFO] [stderr] 8 | pub struct User {
[INFO] [stderr]   |            ---- `User` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models/user.rs:35:17
[INFO] [stderr]    |
[INFO] [stderr] 35 | #[derive(Debug, Insertable)]
[INFO] [stderr]    |                 ^---------
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Insertable` is not local
[INFO] [stderr]    |                 `table` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stderr] 36 | #[table_name = "users"]
[INFO] [stderr] 37 | pub struct NewUser {
[INFO] [stderr]    |            ------- `NewUser` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models/user.rs:35:17
[INFO] [stderr]    |
[INFO] [stderr] 35 | #[derive(Debug, Insertable)]
[INFO] [stderr]    |                 -^^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Insertable` is not local
[INFO] [stderr]    |                 `table` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stderr] 36 | #[table_name = "users"]
[INFO] [stderr] 37 | pub struct NewUser {
[INFO] [stderr]    |            ------- `NewUser` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models/user.rs:35:17
[INFO] [stderr]    |
[INFO] [stderr] 35 | #[derive(Debug, Insertable)]
[INFO] [stderr]    |                 ^---------
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |                 `table` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stderr] 36 | #[table_name = "users"]
[INFO] [stderr] 37 | pub struct NewUser {
[INFO] [stderr]    |            ------- `NewUser` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models/visit.rs:8:17
[INFO] [stderr]    |
[INFO] [stderr]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stderr]    |                 ^--------
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Queryable` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this function `_impl_queryable_for_visit`
[INFO] [stderr] ...
[INFO] [stderr] 11 | pub struct Visit {
[INFO] [stderr]    |            ----- `Visit` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models/visit.rs:8:28
[INFO] [stderr]    |
[INFO] [stderr]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stderr]    |                            ^-----------
[INFO] [stderr]    |                            |
[INFO] [stderr]    |                            `BelongsTo` is not local
[INFO] [stderr]    |                            move the `impl` block outside of this function `_impl_associations_for_visit`
[INFO] [stderr]  9 | #[table_name = "visits"]
[INFO] [stderr] 10 | #[belongs_to(User)]
[INFO] [stderr]    |              ---- `User` is not local
[INFO] [stderr] 11 | pub struct Visit {
[INFO] [stderr]    |            ----- `Visit` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models/visit.rs:8:42
[INFO] [stderr]    |
[INFO] [stderr]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stderr]    |                                          ^-----------
[INFO] [stderr]    |                                          |
[INFO] [stderr]    |                                          `HasTable` is not local
[INFO] [stderr]    |                                          move the `impl` block outside of this function `_impl_identifiable_for_visit`
[INFO] [stderr] ...
[INFO] [stderr] 11 | pub struct Visit {
[INFO] [stderr]    |            ----- `Visit` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models/visit.rs:8:42
[INFO] [stderr]    |
[INFO] [stderr]  8 | #[derive(Debug, Queryable, Associations, Identifiable, Clone)]
[INFO] [stderr]    |                                          ^^^^^^^^^^^^
[INFO] [stderr]    |                                          |
[INFO] [stderr]    |                                          `Identifiable` is not local
[INFO] [stderr]    |                                          move the `impl` block outside of this function `_impl_identifiable_for_visit`
[INFO] [stderr] ...
[INFO] [stderr] 11 | pub struct Visit {
[INFO] [stderr]    |            ----- `Visit` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/models/visit.rs:124:17
[INFO] [stderr]     |
[INFO] [stderr] 124 | #[derive(Debug, Insertable)]
[INFO] [stderr]     |                 ^---------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `Insertable` is not local
[INFO] [stderr]     |                 `table` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this function `_impl_insertable_for_newvisit`
[INFO] [stderr] 125 | #[table_name = "visits"]
[INFO] [stderr] 126 | pub struct NewVisit {
[INFO] [stderr]     |            -------- `NewVisit` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/models/visit.rs:124:17
[INFO] [stderr]     |
[INFO] [stderr] 124 | #[derive(Debug, Insertable)]
[INFO] [stderr]     |                 -^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `Insertable` is not local
[INFO] [stderr]     |                 `table` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this function `_impl_insertable_for_newvisit`
[INFO] [stderr] 125 | #[table_name = "visits"]
[INFO] [stderr] 126 | pub struct NewVisit {
[INFO] [stderr]     |            -------- `NewVisit` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/models/visit.rs:124:17
[INFO] [stderr]     |
[INFO] [stderr] 124 | #[derive(Debug, Insertable)]
[INFO] [stderr]     |                 ^---------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `UndecoratedInsertRecord` is not local
[INFO] [stderr]     |                 `table` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this function `_impl_insertable_for_newvisit`
[INFO] [stderr] 125 | #[table_name = "visits"]
[INFO] [stderr] 126 | pub struct NewVisit {
[INFO] [stderr]     |            -------- `NewVisit` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     users (id) {
[INFO] [stderr] 3 | |         id -> Int4,
[INFO] [stderr] 4 | |         username -> Text,
[INFO] [stderr] ... |
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | | `table` is not local
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     users (id) {
[INFO] [stderr] 3 | |         id -> Int4,
[INFO] [stderr]   | |         -- `id` is not local
[INFO] [stderr] 4 | |         username -> Text,
[INFO] [stderr] ... |
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     users (id) {
[INFO] [stderr] 3 | |         id -> Int4,
[INFO] [stderr] 4 | |         username -> Text,
[INFO] [stderr]   | |         -------- `username` is not local
[INFO] [stderr] ... |
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_username`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     users (id) {
[INFO] [stderr] 3 | |         id -> Int4,
[INFO] [stderr] 4 | |         username -> Text,
[INFO] [stderr] 5 | |         created_at -> Timestamptz,
[INFO] [stderr]   | |         ---------- `created_at` is not local
[INFO] [stderr] ... |
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     users (id) {
[INFO] [stderr] 3 | |         id -> Int4,
[INFO] [stderr] 4 | |         username -> Text,
[INFO] [stderr] 5 | |         created_at -> Timestamptz,
[INFO] [stderr] 6 | |         updated_at -> Timestamptz,
[INFO] [stderr]   | |         ---------- `updated_at` is not local
[INFO] [stderr] 7 | |     }
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     visits (id) {
[INFO] [stderr] 12 | |         id -> Int4,
[INFO] [stderr] 13 | |         user_id -> Int4,
[INFO] [stderr] ...  |
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | | `table` is not local
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     visits (id) {
[INFO] [stderr] 12 | |         id -> Int4,
[INFO] [stderr]    | |         -- `id` is not local
[INFO] [stderr] 13 | |         user_id -> Int4,
[INFO] [stderr] ...  |
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     visits (id) {
[INFO] [stderr] 12 | |         id -> Int4,
[INFO] [stderr] 13 | |         user_id -> Int4,
[INFO] [stderr]    | |         ------- `user_id` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_user_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     visits (id) {
[INFO] [stderr] 12 | |         id -> Int4,
[INFO] [stderr] 13 | |         user_id -> Int4,
[INFO] [stderr] 14 | |         enter_at -> Date,
[INFO] [stderr]    | |         -------- `enter_at` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_enter_at`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     visits (id) {
[INFO] [stderr] 12 | |         id -> Int4,
[INFO] [stderr] 13 | |         user_id -> Int4,
[INFO] [stderr] 14 | |         enter_at -> Date,
[INFO] [stderr] 15 | |         exit_at -> Date,
[INFO] [stderr]    | |         ------- `exit_at` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_exit_at`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     visits (id) {
[INFO] [stderr] 12 | |         id -> Int4,
[INFO] [stderr] 13 | |         user_id -> Int4,
[INFO] [stderr] ...  |
[INFO] [stderr] 16 | |         created_at -> Timestamptz,
[INFO] [stderr]    | |         ---------- `created_at` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     visits (id) {
[INFO] [stderr] 12 | |         id -> Int4,
[INFO] [stderr] 13 | |         user_id -> Int4,
[INFO] [stderr] ...  |
[INFO] [stderr] 17 | |         updated_at -> Timestamptz,
[INFO] [stderr]    | |         ---------- `updated_at` is not local
[INFO] [stderr] 18 | |     }
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `visits` (bin "visits" test) generated 26 warnings (run `cargo fix --bin "visits" -p visits --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/visits-526a06aede350fb7)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test models::visit::tests::visit_days_since_returns_correct_sum ... ok
[INFO] [stdout] test models::visit::tests::visit_sum_all_days_returns_correct_sum ... ok
[INFO] [stdout] test models::visit::tests::visit_sum_all_days_since_returns_correct_sum ... ok
[INFO] [stdout] test models::visit::tests::visit_days_returns_correct_sum ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d3d9c223342925de507f2df0ccf0071d91e8667c56c3b39e305bc4021d8343f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3d9c223342925de507f2df0ccf0071d91e8667c56c3b39e305bc4021d8343f3", kill_on_drop: false }`
[INFO] [stdout] d3d9c223342925de507f2df0ccf0071d91e8667c56c3b39e305bc4021d8343f3
